package com.myframe.www.model.remote.bean;

import com.google.gson.annotations.SerializedName;

/**
 * Description:
 * Created by Andy Hong on 10/19/2017.
 */

public class ServerFailureBean {

    /**
     * code : WAF/INTERNAL_SERVER_ERROR
     * message : 环信注册失败
     * host_id : server.121.xmappservice.com
     * request_id : 9b7c736f-095e-4acf-aa8e-996836864b4b
     * server_time : 2017-10-19T03:03:09.987+0000
     */

    private String code;
    private String message;
    @SerializedName("host_id") private String hostId;
    @SerializedName("request_id") private String requestId;
    @SerializedName("server_time") private String serverTime;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getHostId() {
        return hostId;
    }

    public void setHostId(String hostId) {
        this.hostId = hostId;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getServerTime() {
        return serverTime;
    }

    public void setServerTime(String serverTime) {
        this.serverTime = serverTime;
    }

    @Override
    public String toString() {
        return "code: " + code + "\n" +
                "message: " + message + "\n" +
                "hostId: " + hostId + "\n" +
                "requestId: " + requestId + "\n" +
                "serverTime: " + serverTime;
    }
}
